﻿using System.Collections.Generic;
using Hicap.AuthorizationServer.CommonDto.BaseEntityDto;
using Hicap.AuthorizationServer.Core.Models.Sys;
using Hicap.AuthorizationServer.Sys.DTO.Comapnys;
using Hicap.AuthorizationServer.Sys.DTO.Roles;

namespace Hicap.AuthorizationServer.Sys.DTO.Users
{
    public class UserListDto : EntityBaseListDto
    {
        ////BCC/ BEGIN CUSTOM CODE SECTION
        ////ECC/ END CUSTOM CODE SECTION
        public string UserCode { get; set; }

        public string UserName { get; set; }
        public string UserRealName { get; set; }
        public string UserRemarks { get; set; }
        public string Gender { get; set; }
        public int? Age { get; set; }
        public string Contact { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
        public string TelNumber { get; set; }
        public string TelNumberExt { get; set; }
        public int? Level { get; set; }
        public int? Priority { get; set; }

        public CompanyListDto SubordinateCompany { get; set; }
        public List<RoleListDto> Roles { get; set; }

        public UserListDto()
        {
            Roles = new List<RoleListDto>();
        }
    }
}